home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 1 / LIGHT-ROM 1 (Amiga Library Services)(1994).iso / ffdisks / d985.lha / NewIFF / NewIFF39.lha / newiff39 / Compiler.README next >
Text File  |  1993-09-28  |  2KB  |  40 lines

  1.  
  2. The modules/ directory contains the module sources and SAS C 6.3
  3. object modules.  If you are using Manx, copy Makefile.Manx to
  4. Makefile, and copy iffobj/Manx/#?.o to the modules/ directory.
  5.  
  6. Examples and modules are compiled/linked by cd'ing to the NewIFF39
  7. directory and doing LMK or Make.  But read the notes below !
  8.  
  9. The includes files subdirectory (iffp/) may be placed in your
  10. current directory or your normal include directory.
  11.  
  12. COMPILATION NOTES
  13.     These modules and examples have been compiled using SAS C 6.3
  14.     and Manx C 5.2a, 3.0 (V39.108) include files and V39 amiga.lib.
  15.     When compiling with Manx, a warning seems to be generated for
  16.     each string constant assigned to a UBYTE * field, and also
  17.     by some references to ilbm->colortable.
  18.  
  19.     IMPORTANT - For this revision of the NewIFF code, I have added
  20.     "bumprev" revision files for each example.  But the Make is
  21.     executed while cd'd to the NewIFF39 directory, and I could not
  22.     get Manx to find the revision files included by each example.
  23.     So to compile with Manx, I had to first copy ALL of the
  24.     apps/xxx/xxx_rev.h files to the NewIFF directory.
  25.  
  26.     WARNING - do not use the "-pp" flag of Manx to get rid of the
  27.     char<>UBYTE warnings.  The -pp flag causes all chars to default
  28.     to unsigned, and this will break all of the signed byte (BYTE)
  29.     manipulations in ilbm packing and unpacking.
  30.  
  31. HOOKENTRY NOTES
  32.     A Hook.asm (Hook.o) module is provided which contains a
  33.     generic HookEntry function.  Note that this generic HookEntry
  34.     does not do any geta4() type functions for loading of the base
  35.     for base-relative data.  If your compiler provides its own
  36.     HookEntry, you may need to link with your compiler's provided
  37.     HookEntry rather than the IFF one, especially if you plan to
  38.     change the hook function (stdio hook in parse.c).
  39.  
  40.